package com.laf.manage.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
@ApiModel("添加认证记录")
public class AuthDTO {

    @ApiModelProperty(value = "身份背面图片" , required = true)
    @NotNull(message = "身份背面图片 不能为空")
    private MultipartFile fileBack;

    @ApiModelProperty(value = "唯一标识", required = true)
    @NotBlank(message = "唯一标识不能为空")
    private String uuid;
}
